package com.pxxy.yuyi.service;

import com.github.pagehelper.PageInfo;
import com.pxxy.yuyi.entity.News;

import java.util.List;

/**
 * Created by IntelliJ IDEA
 *
 * @Author : XuWen
 * @create 2021/6/21 11:12
 */
public interface NewsService {
    PageInfo<News> selectNewsType(Integer ntype,Integer pageNum);

    News selectByNid(String nid);

    Integer deleteById(Integer nid);

    Integer addNews(News news);
}
